<script lang="ts">
    import {fade, fly} from "svelte/transition";
    export let drawerTop = false;
</script>

{#if drawerTop}
    <div class="see-drawer-top" transition:fade|fly={{delay: 1}}>top</div>
{/if}

<style>
    .see-drawer-top {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: auto;
        padding: 15px;
        background-color: #4075a6;
        z-index: 9999;
    }
</style>
